home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / oleo-1_4.lha / oleo-1.4 / io-term.h < prev    next >
C/C++ Source or Header  |  1993-02-12  |  3KB  |  97 lines

  1. #ifndef IO_TERMH
  2. #define IO_TERMH
  3.  
  4. /*    Copyright (C) 1992, 1993 Free Software Foundation, Inc.
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this software; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19. /*  t. lord    Sat Aug  8 15:43:52 1992    */
  20.  
  21.  
  22. #include <setjmp.h>
  23. #include "global.h"
  24.  
  25. extern int using_x;
  26. extern int using_curses;
  27. extern jmp_buf error_exception;
  28.  
  29. /* Cell size paramaters. */
  30. extern unsigned int default_width;
  31. extern unsigned int default_height;
  32.  
  33. /* These values are used by clear_spreadsheet ()
  34.  * to restore the defaults.
  35.  */
  36. extern unsigned int saved_default_width;
  37. extern unsigned int saved_default_height;
  38.  
  39. /* Other cell defaults: */
  40. extern int default_jst;
  41. extern int default_fmt;
  42. extern int default_lock;
  43.  
  44.  
  45. extern struct cmd_func cmd_funcs[];
  46.  
  47. /* When printing ascii output, this controls page width. */
  48. extern int modified;
  49.  
  50.  
  51. extern struct cmd_func *end_macro_cmd;
  52. extern struct cmd_func *digit_0_cmd;
  53. extern struct cmd_func *digit_9_cmd;
  54. extern struct cmd_func * break_cmd;
  55. extern struct cmd_func * universal_arg_cmd;
  56.  
  57. extern struct cmd_func * break_cmd;
  58. extern struct cmd_func * universal_arg_cmd;
  59. extern struct cmd_func * end_macro_cmd;
  60.  
  61.  
  62.  
  63.  
  64. #ifdef __STDC__
  65. extern void set_options (char * ptr);
  66. extern void show_options (void);
  67. extern void read_mp_usr_fmt (char *ptr);
  68. extern void write_mp_options (FILE *fp);
  69. extern void read_mp_options (char *str);
  70. extern void set_var (char * var, char * val);
  71. extern void show_var (char *ptr);
  72. extern void show_all_var (void);
  73. extern void write_variables (FILE * fp);
  74. extern void read_variables (FILE * fp);
  75. extern void init_maps (void);
  76. extern int add_usr_cmds (struct cmd_func *new_cmds);
  77. extern int main (int argc, char **argv);
  78.  
  79. #else
  80. extern void set_options ();
  81. extern void show_options ();
  82. extern void read_mp_usr_fmt ();
  83. extern void write_mp_options ();
  84. extern void read_mp_options ();
  85. extern void set_var ();
  86. extern void show_var ();
  87. extern void show_all_var ();
  88. extern void write_variables ();
  89. extern void read_variables ();
  90. extern void init_maps ();
  91. extern int add_usr_cmds ();
  92. extern int main ();
  93.  
  94. #endif
  95.  
  96. #endif /* IO_TERMH */
  97.